package com.rs.model;

import java.io.Serializable;
import java.util.Date;


public class ZhUser implements Serializable {
	
    private Integer uId;
    
    private String uUsername;
	
    private String uPassword;
	
    private String uName;
	
    private String uSex;
	
    private String uIdcard;
	
    private Integer uAge;
	
    private Date uBirthday;
	
    private String uBirthdayString;
	
    private String uPhone;

    private String uBanknumber;

    private String uHead;

	private String uAddress;

    private Date uEntrytime;
	
    private String uEntrytimeString;

    private Integer uDeid;

    private Integer uPoid;
    
    private Integer uCaid;
	
    private Integer uExamine;

    private Integer uUid;

    private Integer uRuleid;

    private Date uRetime;
	
    private String uRetimeString;
    
    private Integer uStudyType;


	

	private static final long serialVersionUID = 1L;
    
    
    //////////////////////////////////////////////////////////////////////////////////////////// 
    private String teacherName;//老师姓名

    private String studentName;//学生姓名
    
    private Date deginTime;//开学时间开始范围
    
    private Date endTime;//开学时间结束范围 
    
  //那页
    private int pageNum;
    
    public Integer getuStudyType() {
		return uStudyType;
	}

	public void setuStudyType(int uStudyType) {
		this.uStudyType = uStudyType;
	}
  

	public String getuBirthdayString() {
		return uBirthdayString;
	}

	public void setuBirthdayString(String uBirthdayString) {
		this.uBirthdayString = uBirthdayString;
	}

	public String getuEntrytimeString() {
		return uEntrytimeString;
	}

	public void setuEntrytimeString(String uEntrytimeString) {
		this.uEntrytimeString = uEntrytimeString;
	}

	public String getuRetimeString() {
		return uRetimeString;
	}

	public void setuRetimeString(String uRetimeString) {
		this.uRetimeString = uRetimeString;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public Date getDeginTime() {
		return deginTime;
	}

	public void setDeginTime(Date deginTime) {
		this.deginTime = deginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getuCaid() {
		return uCaid;
	}

	public void setuCaid(Integer uCaid) {
		this.uCaid = uCaid;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuUsername() {
        return uUsername;
    }

    public void setuUsername(String uUsername) {
        this.uUsername = uUsername == null ? null : uUsername.trim();
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword == null ? null : uPassword.trim();
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName == null ? null : uName.trim();
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex == null ? null : uSex.trim();
    }

    public String getuIdcard() {
        return uIdcard;
    }

    public void setuIdcard(String uIdcard) {
        this.uIdcard = uIdcard == null ? null : uIdcard.trim();
    }

    public Integer getuAge() {
        return uAge;
    }

    public void setuAge(Integer uAge) {
        this.uAge = uAge;
    }

    public Date getuBirthday() {
        return uBirthday;
    }

    public void setuBirthday(Date uBirthday) {
        this.uBirthday = uBirthday;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone == null ? null : uPhone.trim();
    }

    public String getuBanknumber() {
        return uBanknumber;
    }

    public void setuBanknumber(String uBanknumber) {
        this.uBanknumber = uBanknumber == null ? null : uBanknumber.trim();
    }

    public String getuHead() {
        return uHead;
    }

    public void setuHead(String uHead) {
        this.uHead = uHead == null ? null : uHead.trim();
    }

    public String getuAddress() {
        return uAddress;
    }

    public void setuAddress(String uAddress) {
        this.uAddress = uAddress == null ? null : uAddress.trim();
    }

    public Date getuEntrytime() {
        return uEntrytime;
    }

    public void setuEntrytime(Date uEntrytime) {
        this.uEntrytime = uEntrytime;
    }

    public Integer getuDeid() {
        return uDeid;
    }

    public void setuDeid(Integer uDeid) {
        this.uDeid = uDeid;
    }

    public Integer getuPoid() {
        return uPoid;
    }

    public void setuPoid(Integer uPoid) {
        this.uPoid = uPoid;
    }

    public Integer getuExamine() {
        return uExamine;
    }

    public void setuExamine(Integer uExamine) {
        this.uExamine = uExamine;
    }

    public Integer getuUid() {
        return uUid;
    }

    public void setuUid(Integer uUid) {
        this.uUid = uUid;
    }

    public Integer getuRuleid() {
        return uRuleid;
    }

    public void setuRuleid(Integer uRuleid) {
        this.uRuleid = uRuleid;
    }

    public Date getuRetime() {
        return uRetime;
    }

    public void setuRetime(Date uRetime) {
        this.uRetime = uRetime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ZhUser other = (ZhUser) that;
        return (this.getuId() == null ? other.getuId() == null : this.getuId().equals(other.getuId()))
            && (this.getuUsername() == null ? other.getuUsername() == null : this.getuUsername().equals(other.getuUsername()))
            && (this.getuPassword() == null ? other.getuPassword() == null : this.getuPassword().equals(other.getuPassword()))
            && (this.getuName() == null ? other.getuName() == null : this.getuName().equals(other.getuName()))
            && (this.getuSex() == null ? other.getuSex() == null : this.getuSex().equals(other.getuSex()))
            && (this.getuIdcard() == null ? other.getuIdcard() == null : this.getuIdcard().equals(other.getuIdcard()))
            && (this.getuAge() == null ? other.getuAge() == null : this.getuAge().equals(other.getuAge()))
            && (this.getuBirthday() == null ? other.getuBirthday() == null : this.getuBirthday().equals(other.getuBirthday()))
            && (this.getuPhone() == null ? other.getuPhone() == null : this.getuPhone().equals(other.getuPhone()))
            && (this.getuBanknumber() == null ? other.getuBanknumber() == null : this.getuBanknumber().equals(other.getuBanknumber()))
            && (this.getuHead() == null ? other.getuHead() == null : this.getuHead().equals(other.getuHead()))
            && (this.getuAddress() == null ? other.getuAddress() == null : this.getuAddress().equals(other.getuAddress()))
            && (this.getuEntrytime() == null ? other.getuEntrytime() == null : this.getuEntrytime().equals(other.getuEntrytime()))
            && (this.getuDeid() == null ? other.getuDeid() == null : this.getuDeid().equals(other.getuDeid()))
            && (this.getuPoid() == null ? other.getuPoid() == null : this.getuPoid().equals(other.getuPoid()))
            && (this.getuExamine() == null ? other.getuExamine() == null : this.getuExamine().equals(other.getuExamine()))
            && (this.getuUid() == null ? other.getuUid() == null : this.getuUid().equals(other.getuUid()))
            && (this.getuRuleid() == null ? other.getuRuleid() == null : this.getuRuleid().equals(other.getuRuleid()))
            && (this.getuRetime() == null ? other.getuRetime() == null : this.getuRetime().equals(other.getuRetime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getuId() == null) ? 0 : getuId().hashCode());
        result = prime * result + ((getuUsername() == null) ? 0 : getuUsername().hashCode());
        result = prime * result + ((getuPassword() == null) ? 0 : getuPassword().hashCode());
        result = prime * result + ((getuName() == null) ? 0 : getuName().hashCode());
        result = prime * result + ((getuSex() == null) ? 0 : getuSex().hashCode());
        result = prime * result + ((getuIdcard() == null) ? 0 : getuIdcard().hashCode());
        result = prime * result + ((getuAge() == null) ? 0 : getuAge().hashCode());
        result = prime * result + ((getuBirthday() == null) ? 0 : getuBirthday().hashCode());
        result = prime * result + ((getuPhone() == null) ? 0 : getuPhone().hashCode());
        result = prime * result + ((getuBanknumber() == null) ? 0 : getuBanknumber().hashCode());
        result = prime * result + ((getuHead() == null) ? 0 : getuHead().hashCode());
        result = prime * result + ((getuAddress() == null) ? 0 : getuAddress().hashCode());
        result = prime * result + ((getuEntrytime() == null) ? 0 : getuEntrytime().hashCode());
        result = prime * result + ((getuDeid() == null) ? 0 : getuDeid().hashCode());
        result = prime * result + ((getuPoid() == null) ? 0 : getuPoid().hashCode());
        result = prime * result + ((getuExamine() == null) ? 0 : getuExamine().hashCode());
        result = prime * result + ((getuUid() == null) ? 0 : getuUid().hashCode());
        result = prime * result + ((getuRuleid() == null) ? 0 : getuRuleid().hashCode());
        result = prime * result + ((getuRetime() == null) ? 0 : getuRetime().hashCode());
        return result;
    }

	@Override
	public String toString() {
		return "ZhUser [uId=" + uId + ", uUsername=" + uUsername + ", uPassword=" + uPassword + ", uName=" + uName
				+ ", uSex=" + uSex + ", uIdcard=" + uIdcard + ", uAge=" + uAge + ", uBirthday=" + uBirthday
				+ ", uBirthdayString=" + uBirthdayString + ", uPhone=" + uPhone + ", uBanknumber=" + uBanknumber
				+ ", uHead=" + uHead + ", uAddress=" + uAddress + ", uEntrytime=" + uEntrytime + ", uEntrytimeString="
				+ uEntrytimeString + ", uDeid=" + uDeid + ", uPoid=" + uPoid + ", uCaid=" + uCaid + ", uExamine="
				+ uExamine + ", uUid=" + uUid + ", uRuleid=" + uRuleid + ", uRetime=" + uRetime + ", uRetimeString="
				+ uRetimeString + ", uSthdyType=" + uStudyType + ", teacherName=" + teacherName + ", studentName="
				+ studentName + ", deginTime=" + deginTime + ", endTime=" + endTime + ", pageNum=" + pageNum + "]";
	}

	
    
    
}